package com.thc.servicetest2.controler;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lzz
 * @package com.thc.servicetest.controler
 * @create 2019-05-15 10:01
 * @description: ${DESCRIPTION}
 */
@RestController
public class HelloControler {

    @Value("${server.port}")
    private String port;

    @RequestMapping("/hi")
    public String hi(){
        return port;
    }
}
